package com.itheima;

public class Pingpongcoach extends Coach implements Speakenglish{
    public Pingpongcoach() {
    }

    public Pingpongcoach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("乒乓球教练教打乒乓球");
    }

    @Override
    public void speak() {
        System.out.println("乒乓球教练说：说英语");
    }
}
